<?php
include($_SERVER["DOCUMENT_ROOT"]."/db.inc.php");
$strSQL = "SELECT `MemGroup` , count( * ) AS AA FROM `bet_Sessions` WHERE 1 GROUP BY `MemGroup`";
$RS = @PMA_mysql_query($strSQL, $$_Conn);

while($Rows = PMA_mysql_fetch_object($RS)){
	print $Rows -> MemGroup." = ".$Rows -> AA." ;;";
}
?>